<template>
  <div id="app">
    <h1 class="ui dividing centered header">Vue.js Todo App</h1>
    <div class="ui three column centered grid">
      <div class="column">
        <todo-list v-bind:todos="todos"></todo-list>
      </div>
    </div>
  </div>
</template>

<script>
import TodoList from './components/TodoList'

export default {
  name: 'app',
  components: {
    TodoList
  },
  data: function() {
    return {
      todos: [{
        title: '待办事项A',
        project: '内容...',
        done: false,
      }, {
        title: '待办事项B',
        project: '内容...',
        done: true,
      }, {
        title: '待办事项C',
        project: '内容...',
        done: false,
      }],
    };
  },
}
</script>

<style>

</style>
